﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003A1 RID: 929
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DeleteRelicFilterPlanCsReq : IMessage<DeleteRelicFilterPlanCsReq>, IMessage, IEquatable<DeleteRelicFilterPlanCsReq>, IDeepCloneable<DeleteRelicFilterPlanCsReq>, IBufferMessage
	{
		// Token: 0x17000BEF RID: 3055
		// (get) Token: 0x06002997 RID: 10647 RVA: 0x0007337D File Offset: 0x0007157D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DeleteRelicFilterPlanCsReq> Parser
		{
			get
			{
				return DeleteRelicFilterPlanCsReq._parser;
			}
		}

		// Token: 0x17000BF0 RID: 3056
		// (get) Token: 0x06002998 RID: 10648 RVA: 0x00073384 File Offset: 0x00071584
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DeleteRelicFilterPlanCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000BF1 RID: 3057
		// (get) Token: 0x06002999 RID: 10649 RVA: 0x00073396 File Offset: 0x00071596
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DeleteRelicFilterPlanCsReq.Descriptor;
			}
		}

		// Token: 0x0600299A RID: 10650 RVA: 0x0007339D File Offset: 0x0007159D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteRelicFilterPlanCsReq()
		{
		}

		// Token: 0x0600299B RID: 10651 RVA: 0x000733B0 File Offset: 0x000715B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteRelicFilterPlanCsReq(DeleteRelicFilterPlanCsReq other) : this()
		{
			this.slotIndexList_ = other.slotIndexList_.Clone();
			this.isBatchOp_ = other.isBatchOp_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600299C RID: 10652 RVA: 0x000733E6 File Offset: 0x000715E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteRelicFilterPlanCsReq Clone()
		{
			return new DeleteRelicFilterPlanCsReq(this);
		}

		// Token: 0x17000BF2 RID: 3058
		// (get) Token: 0x0600299D RID: 10653 RVA: 0x000733EE File Offset: 0x000715EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> SlotIndexList
		{
			get
			{
				return this.slotIndexList_;
			}
		}

		// Token: 0x17000BF3 RID: 3059
		// (get) Token: 0x0600299E RID: 10654 RVA: 0x000733F6 File Offset: 0x000715F6
		// (set) Token: 0x0600299F RID: 10655 RVA: 0x000733FE File Offset: 0x000715FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsBatchOp
		{
			get
			{
				return this.isBatchOp_;
			}
			set
			{
				this.isBatchOp_ = value;
			}
		}

		// Token: 0x060029A0 RID: 10656 RVA: 0x00073407 File Offset: 0x00071607
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DeleteRelicFilterPlanCsReq);
		}

		// Token: 0x060029A1 RID: 10657 RVA: 0x00073418 File Offset: 0x00071618
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DeleteRelicFilterPlanCsReq other)
		{
			return other != null && (other == this || (this.slotIndexList_.Equals(other.slotIndexList_) && this.IsBatchOp == other.IsBatchOp && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060029A2 RID: 10658 RVA: 0x00073468 File Offset: 0x00071668
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.slotIndexList_.GetHashCode();
			if (this.IsBatchOp)
			{
				num ^= this.IsBatchOp.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060029A3 RID: 10659 RVA: 0x000734B5 File Offset: 0x000716B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060029A4 RID: 10660 RVA: 0x000734BD File Offset: 0x000716BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060029A5 RID: 10661 RVA: 0x000734C8 File Offset: 0x000716C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IsBatchOp)
			{
				output.WriteRawTag(88);
				output.WriteBool(this.IsBatchOp);
			}
			this.slotIndexList_.WriteTo(ref output, DeleteRelicFilterPlanCsReq._repeated_slotIndexList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060029A6 RID: 10662 RVA: 0x00073518 File Offset: 0x00071718
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.slotIndexList_.CalculateSize(DeleteRelicFilterPlanCsReq._repeated_slotIndexList_codec);
			if (this.IsBatchOp)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060029A7 RID: 10663 RVA: 0x00073560 File Offset: 0x00071760
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DeleteRelicFilterPlanCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.slotIndexList_.Add(other.slotIndexList_);
			if (other.IsBatchOp)
			{
				this.IsBatchOp = other.IsBatchOp;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060029A8 RID: 10664 RVA: 0x000735AD File Offset: 0x000717AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060029A9 RID: 10665 RVA: 0x000735B8 File Offset: 0x000717B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 120U && num != 122U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.slotIndexList_.AddEntriesFrom(ref input, DeleteRelicFilterPlanCsReq._repeated_slotIndexList_codec);
					}
				}
				else
				{
					this.IsBatchOp = input.ReadBool();
				}
			}
		}

		// Token: 0x04001078 RID: 4216
		private static readonly MessageParser<DeleteRelicFilterPlanCsReq> _parser = new MessageParser<DeleteRelicFilterPlanCsReq>(() => new DeleteRelicFilterPlanCsReq());

		// Token: 0x04001079 RID: 4217
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400107A RID: 4218
		public const int SlotIndexListFieldNumber = 15;

		// Token: 0x0400107B RID: 4219
		private static readonly FieldCodec<uint> _repeated_slotIndexList_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x0400107C RID: 4220
		private readonly RepeatedField<uint> slotIndexList_ = new RepeatedField<uint>();

		// Token: 0x0400107D RID: 4221
		public const int IsBatchOpFieldNumber = 11;

		// Token: 0x0400107E RID: 4222
		private bool isBatchOp_;
	}
}
